package com.viviet.mobileservices.domain.info;

import com.viviet.mobileservices.common.Constants;

public class MessageInfo {
	// 0: inform information (login success)/ transaction success;
	// 1: error, operation is not done
	// 2: warning, operation is done with conditions
	private int msgType;
	private String msgCode;
	private String msgContent;
	
	public MessageInfo() {}
	public MessageInfo(int msgType,String msgCode, String msgContent) {
		this.msgType = msgType;
		this.msgCode = msgCode;
		this.msgContent = msgContent;
	}

	public int getMsgType() {
		return this.msgType;
	}

	public void setMsgType(int msgType) {
		this.msgType = msgType;
	}

	public String getMsgCode() {
		return this.msgCode;
	}

	public void setMsgCode(String msgCode) {
		this.msgCode = msgCode;
	}

	public String getMsgContent() {
		return this.msgContent;
	}

	public void setMsgContent(String msgContent) {
		this.msgContent = msgContent;
	}
}
